package ru.xalba.sportbot;
import org.jivesoftware.smack.PacketCollector;
import org.jivesoftware.smack.filter.*;

public final class User {
	enum UserState {
		off, listen
	}
	private String jid;
	private UserState state;
	private PacketFilter filter;
	private boolean admin;
	private PacketCollector collector;
	
	public void setJid(String jid)
	{
		this.jid = jid;
	}
	
	public void setUserState(UserState state)
	{
		this.state = state; 
	}
	
	public void setFilter(PacketFilter filter)
	{
		this.filter = filter;
	}
	
	public String getJid()
	{
		return jid;
	}
	
	public UserState getState()
	{
		return state;
	}
	
	public PacketFilter getFilter()
	{
		return filter;
	}
	
	public void setAdmin(boolean admin)
	{
		this.admin = admin;
	}
	
	public boolean getAdmin()
	{
		return admin;
	}
	
	public void setCollector(PacketCollector collector)
	{
		this.collector = collector;
	}
	
	public PacketCollector getCollector()
	{
		return collector;
	}
}
